.sna-adesao-fam-admin {
  font-family: "Inter", Arial, sans-serif;
  padding: 20px;
  background: #f8f9fb;
}

.sna-adesao-fam-admin h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

/* ====== TABLE CONTAINER ====== */
.sna-table-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  overflow-x: auto;
}

/* ====== SEARCH ====== */
.sna-table-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.sna-table-header input {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 240px;
  font-size: 14px;
  transition: all 0.2s;
}

.sna-table-header input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* ====== TABLE ====== */
.sna-table {
  width: 100%;
  border-collapse: collapse;
}

.sna-table th, 
.sna-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}


.sna-table th {
  background-color: #f0f3f6;
  font-weight: 600;
  color: #1152cc;
}

.sna-table tr:hover {
  background-color: #f9fafb;
}

/* ====== STATUS ====== */
.sna-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.sna-status.ativo {
  background-color: #e0f7e9;
  color: #0a8a4d;
}

.sna-status.inativo {
  background-color: #fdecea;
  color: #b92d2b;
}

/* ====== ACTION BUTTONS ====== */
.sna-actions {
  display: flex;
  gap: 6px;
}

.sna-actions button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.sna-actions .btn-view {
border: 1px solid #0073aa;
color: #0073aa;
}

.sna-actions .btn-view:hover {
  background: #e9f2ff;
  color: #0073aa;
}

.sna-actions .btn-edit:hover {
  background: #fff4e5;
  color: #e6a100;
}

.sna-actions .btn-delete:hover {
  background: #ffeaea;
  color: #cc0000;
}

/* ====== PAGINATION ====== */
.sna-pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  gap: 6px;
}

.sna-page-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.sna-page-btn.active {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.sna-page-btn:hover {
  background: #e8f4fb;
}



/* ===== ESTILO TEMO GERAL ===== */
.fam-form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2px 3px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Linha de formulário */
.fam-form-container .form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Campo */
.fam-form-container .form-group {
  flex: 1 1 calc(50% - 10px);
}

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
  .fam-form-container {
    padding: 1px 5px;
  }

  .fam-form-container .form-row {
    flex-direction: column;
    gap: 5px;
  }

  .fam-form-container .form-group {
    flex: 1 1 100% !important;
    width: 100%;
  }

  /* Alinhamento do label e input */
  .fam-form-container label {
    text-align: left;
    display: block;
    margin-bottom: 3px;
  }
}

/* ===== IMPRESSÃO (A4) ===== */
@media print {
  body {
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .fam-form-container {
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto !important;
    width: 100%;
    font-size: 8pt !important;
    page-break-inside: avoid;
  }

  .fam-form-container .form-row {
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  .fam-form-container .form-group {
    flex: 1 1 calc(33.33% - 10px) !important; 
    box-sizing: border-box;
    page-break-inside: avoid;
  }



  /* Remove botões e elementos desnecessários na impressão */
  .no-print, .btn, .actions {
    display: none !important;
  }

  @page {
    size: A4 portrait;
    margin: 0.5cm;
  }
}




